package ms.core.gateway.response;

import ms.core.gateway.bean.DicTableBean;
import ms.core.gateway.utils.DicConstUtils;

public class DicTableVO extends DicTableBean {
	/**
	 * 获取表实体类型
	 * @return
	 */
	public String getTtypeName() {
		return getTtype()==TABLE ? "表" : "视图";
	}
	
	/**
	 * 获取表业务类型
	 * 
	 * @return
	 */
	
	public String getItypeName() {
		return DicConstUtils.codeOfValue("DIC0", "itype", getItype());
	}
}
